<template>
    <van-tabbar v-model="active" active-color="#ee0a24" router inactive-color="#000">
        <van-tabbar-item icon="home-o" to="/home">首页</van-tabbar-item>
        <van-tabbar-item icon="search" to="/category">分类</van-tabbar-item>
        <van-tabbar-item icon="chat-o" to="/pay">购物车</van-tabbar-item>
        <van-tabbar-item icon="friends-o" to="/mine">个人中心</van-tabbar-item>
    </van-tabbar>
</template>

<script lang="ts" setup>
import { ref } from "@vue/reactivity";

let active = ref(0)

</script>

<style scoped>

</style>